<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<!--1 填写表单. 请求地址是BookController中的book -->
<!-- -->
<h1>添加图书</h1>
  <form action="book" method="post" enctype="multipart/form-data">
    标题:<input type="text" name="title" placeholder="请输入标题"><br/>
    封面: <input type="file" name="file"><br/>
     <input type="submit" value="添加"><br/>
  </form>
</body>
</html>